package ar.com.ironsoft.javaopenauth.utils;

/**
 * A enum for the HTTP content types.
 * 
 * @author Tomas de Priede
 * @version 0.1.2, 05/02/2011
 * @since 0.1.2-SNAPSHOT
 * 
 */
public enum ContentType {
	JSON("application/json"), XML("application/xml");

	private String contentType;

	private ContentType(String contentType) {
		this.contentType = contentType;
	}

	/**
	 * Returns the content type in a String format
	 * 
	 * @return the String version of the content type
	 * @author Tomas de Priede
	 * @version 1.0, 05/02/2011
	 * @since 0.1.2-SNAPSHOT
	 */
	public String getContentType() {
		return contentType;
	}

}
